package com.hifar.test.syncData.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hifar.test.syncData.pojo.HfEnvSyncDataExportTask;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * @author zhuWeiWei
 * @description: TODO
 * @date 2025/4/11 11:53
 */
@Mapper
public interface HfEnvSyncDataExportTaskMapper extends BaseMapper<HfEnvSyncDataExportTask> {
    /**
     * 更新任务进度
     *
     * @param taskId   任务id
     * @param schedule 进度
     */
    void updateSchedule(@Param("id") String taskId, @Param("schedule") BigDecimal schedule, @Param("status") String status);
}
